<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>系统管理首页</title>
    <link rel="stylesheet" href="../css/bootstrap.css">
    <style>
        li{list-style: none;}
        a:visited{color: white}

    </style>
</head>
<body>
<!--顶部、主体-->
<div class="container">
    <div class="row text-center bg-black text-white">
        <div class="col-2">
            <img src="../img/logo.png" alt="" width="50%">
        </div>
        <div class="col-8 text-center"><p>欢迎使用图书管理系统</p></div>
        <div class="col-2">
            <span>当前用户:</span>
            <span th:text="${username}"></span>
            <span><a href="/logout">退出</a></span>
        </div>
    </div>
    <div class="row" style="min-height: 400px;">
<!--        <div class="col-2 bg-dark text-light">-->
<!--            <li><a href="/main">管理系统首页</a></li>-->
<!--            <li><a href="/bookList">图书管理</a></li>-->
<!--            <li><a href="/publishers">出版社管理</a></li>-->
<!--        </div>-->
        <div class="col-2 bg-black text-white pt-5">
            <li class="m-2">
                <a href="/main">管理首页</a>
            </li>
            <li class="m-2">
                <a href="/book/bookList">图书模块</a>
            </li>
        </div>
        <div class="col-10 pt-2">
            <p>这是新增图书表</p>
            <form  method="post" action="/book/bookAddProcess">
                <div class="form-control">
                    <label for="">书名</label>
                    <input type="text" name="bookname" id="">
                </div>
                <div class="form-control">
                    <label for="">作者</label>
                    <input type="text" name="author" id="">
                </div>
                <div class="form-control">
                    <label for="">数量</label>
                    <input type="text" name="number" id="">
                </div>
                <div class="form-control">
                    <label for="">价格</label>
                    <input type="text" name="pricing" id="">
                </div>
                <div class="form-control">
                    <label for="">出版社</label>
                    <input type="text" name="publishers" id="">
                </div>
                <div class="form-control">
                    <label for="">类型</label>
                    <input type="text" name="type" id="">
                </div>
                <div class="form-control">
                    <input type="submit" value="提交">
                </div>
            </form>
        </div>
    </div>
    <div class="footer text-center bg-black text-white">
        @2023-2028，版本所有，违者必究
    </div>
</div>


</body>
</html>